package com.stnet.dao.enterprice.base;

import java.util.List;

import com.stnet.entity.EnterpriseColumn;

/**
 * @author Messcat
 * @version 1.1
 */
public interface EpColumnDao
{

    public  EnterpriseColumn get(Long id);

    public  void save(EnterpriseColumn enterpriseColumn);

    public  void update(EnterpriseColumn enterpriseColumn);

    public  void delete(EnterpriseColumn enterpriseColumn);

    public  void delete(Long id);

    public  List findAll();

    public  List findByFatherAndState(Long father, String state, String order);

    public  List findSubColumn(Long father);

    public  List findAllColumn();

    public  boolean isNameUnique(String names,Long father);

    public  EnterpriseColumn getColumnByFrontNum(String s);

    public  List getColumnByFrontNumNotNull();
    
    public  List findAjaxByFatherAndState(Long father, String state, String order);
}